<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInLeft">
        <div data-th-replace="common/functionDepict"></div>
        <div class="i-box float-e-margins">
            <div class="ibox-title">
                <h5>学员信息 <small class="m-l-sm">（展示学员信息与记录学员从注册平台后发生的一切明细）</small></h5>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div class="col-sm-3">
                        <div class="text-center">
                            <div class="m-b-sm">
                                <img alt="image" class="img-circle" width="120" height="120" style="max-width: 160px" th:if="${user['avatar']}==null or ${user['avatar']}==''" th:src="@{{path}/front/web/v3/img/default/userface.gif?v={v}(path=${staticPath},v=${v})}">
                                <img alt="image" class="img-circle" width="120" height="120" style="max-width: 160px" th:if="${user['avatar']}!=null and ${user['avatar']}!=''" th:src="${user['avatar']}">
                            </div>
                            <p class="font-bold" th:text="${user['nickname']}"></p>
                        </div>
                    </div>
                    <div class="col-sm-9">
                        <div class="row in-iv-data-wrap in-iv-data-box">
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">今日学习(分钟)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" id="todayCount" th:text="${#numbers.formatDecimal(userStudy['todayCount']/60,1,0)}">0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">连续学习(天)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" id="continuityCount" th:text="${userStudy['continuityCount']}">0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">完成课程(节)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" id="finishCount" th:text="${userStudy['finishCount']}">0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">参加直播(场)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24"  id="joinLiveCount" th:text="${userStudy['joinLiveCount']}">0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">学习总时长(分钟)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" th:text="${user['studyTotalTime']}==null or ${user['studyTotalTime']}==0 ? '0':${user['studyTotalTime']}" ></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">登录次数</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" th:text="${user['loginNum']}==null or ${user['loginNum']}==0 ? '0' : ${user['loginNum']}"></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">总消费金额(元)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" th:text="${user['amountOfConsumption']}==null or ${user['amountOfConsumption']}==0 ? '0.0':${user['amountOfConsumption']}" ></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">总签到数(天)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" id="signNum" th:text="${userStudy['signNum']}">0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">邀请人数(个)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span class="fs24" id="customerSunNum">0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">做题数/试卷数</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span th:text="${user['questionNum']}==null or ${user['questionNum']}==0 ? '0':${user['questionNum']}"></span>
                                            /
                                            <span th:text="${user['examNum']}==null or ${user['examNum']}==0 ? '0':''+${user['examNum']}+''"></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="iv-data-item">
                                <div class="iv-data-item-bx iv-data-item-bx-1">
                                    <div class="text-center">
                                        <h3><span class="fs14">收益分成(元)</span></h3>
                                        <div class="iv-data-item-attr">
                                            <span  id="agentIncome">0.0</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <hr>
                <div class="row">
                    <input type="hidden" th:value="${user['id']}" id="userId"/>
                    <section class="col-sm-3">
                        <p><a class="btn btn-block btn-outline btn-primary" id="resetdBtn" th:attr="data-id=${user['id']},data-isavalible=${user['isavalible']}" href="javascript:void(0);"><i class="fa fa-cubes"></i> 奖励积分</a></p>
                    </section>
                    <section class="col-sm-3">
                        <p><a class="btn btn-block btn-outline btn-primary" href="javascript:void(0);" id="resetPassword" th:attr="data-id=${user['id']},data-isavalible=${user['isavalible']}"><i class="fa fa-crosshairs"></i> 重置密码</a></p>
                    </section>
                    <section class="col-sm-3">
                        <p><a class="btn btn-block btn-outline btn-primary selectCourse" th:attr="data-id=${user['id']},data-isavalible=${user['isavalible']}" href="javascript:void(0);"><i class="fa fa-book"></i> 赠送课程</a></p>
                    </section>
                    <section class="col-sm-3">
                        <p th:if="${user['isavalible']}==2"><a class="btn btn-block btn-outline btn-primary unlockAndHistory" href="javascript:void(0);"  th:attr="data-id=${user['id']},data-isavalible=${user['isavalible']}"><i class="fa fa-history"></i> 恢复登录</a></p>
                        <p th:if="${user['isavalible']}==1"><a class="btn btn-block btn-outline btn-primary unlockAndHistory" href="javascript:void(0);"  th:attr="data-id=${user['id']},data-isavalible=${user['isavalible']}"><i class="fa fa-unlock-alt"></i></i> 封禁登录</a></p>
                    </section>
                </div>

            </div>
        </div>
        <div class="m-t">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="tabs-container">
                                <ul class="nav nav-tabs">
                                    <li class="coursePlayRecordSubmit active"><a data-toggle="tab" href="#tab-3" aria-expanded="false"> 学习记录</a></li>
                                    <li class="examRecordSubmit"><a data-toggle="tab" href="#tab-4" aria-expanded="false"> 考试记录</a></li>
                                    <li class="questionSubmit"><a data-toggle="tab" href="#tab-5" aria-expanded="false"> 提问记录</a></li>
                                    <li class="submitOrderList"><a data-toggle="tab" href="#tab-2" aria-expanded="false"> 购买记录</a></li>
                                    <!--<li class="submitExperienceList"><a data-toggle="tab" href="#tab-8" aria-expanded="false"> 经验记录</a></li>-->
                                    <li class="submitIntegralList"><a data-toggle="tab" href="#tab-6" id="" aria-expanded="false"> 积分记录</a></li>
                                    <li class="earningList"><a data-toggle="tab" href="#tab-7" aria-expanded="false"> 收益记录</a></li>
                                    <li><a data-toggle="tab" href="#tab-1" aria-expanded="true"> 基本信息</a></li>
                                </ul>
                                <div class="tab-content">
                                    <form id="userIdForm" role="form" class="form-inline">
                                        <div class="form-group" style="margin-bottom: 10px">
                                            <input name="userId" th:value="${user['id']}" class="laydate-icon form-control layer-date" type="hidden">
                                        </div>
                                    </form>
                                    <div id="tab-1" class="tab-pane">
                                        <div class="panel-body">
                                            <div class="form-horizontal">
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">注册邮箱：</label>

                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">
                                                            <span th:if="${user['email']}==null or ${user['email']}==''" >—</span>
                                                            <span th:if="${user['email']}!=null and ${user['email']}!=''" th:text="${user['email']}"></span>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">注册手机：</label>

                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">
                                                            <span th:if="${user['mobile']}==null or ${user['mobile']}==''" >—</span>
                                                            <span th:if="${user['mobile']}!=null and ${user['mobile']}!=''" th:text="${user['mobile']}"></span>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">第三方绑定账号：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">
                                                            <th:block th:if="!${#lists.isEmpty(user['cuserProfile'])}" th:each="cuserProfile ,cuserProfileStat :${user['cuserProfile']}">
                                                                <span th:text="'账户类型：'+(${cuserProfile['profileType']}=='QQ'?'QQ':'微信')"></span>
                                                                <br>
                                                                <span th:text="'昵称：'+${cuserProfile['name']}"></span>
                                                                <th:block th:if="!${cuserProfileStat['last']}">
                                                                    <br>
                                                                    <br>
                                                                </th:block>
                                                            </th:block>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">注册来源：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">
                                                            <th:block th:each="userExpandFrom : ${userExpandFromList}">
                                                                <span th:if="${user['registerFrom']}==${userExpandFrom.key}" th:text="${userExpandFrom.value}"></span>
                                                            </th:block>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">注册时间：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static" th:text="${#strings.substring(user['createTime'],0,16)}"></p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">昵称：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">
                                                            <span th:if="${user['nickname']}==null or ${user['nickname']}==''" >—</span>
                                                            <span th:if="${user['nickname']}!=null and ${user['nickname']}!=''" th:text="${user['nickname']}"></span>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">性别：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static" th:if="${user['gender']}==1"><i class="fa fa-venus"></i> 男</p>
                                                        <p class="form-control-static" th:if="${user['gender']}==2"><i class="fa fa-mars"></i> 女</p>
                                                        <p class="form-control-static" th:if="${user['gender']}==0"><i class="fa fa-venus-mars"></i> 未知</p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">学业信息：</label>
                                                    <div class="col-sm-10">
                                                        <th:block th:if="!${#maps.isEmpty(userAcademic)}">
                                                            <th:block th:if="!${#lists.isEmpty(userAcademic['subjectList'])}" th:each="naturalSubject, index : ${userAcademic['subjectList']}">
                                                                <p  th:if="!${#lists.isEmpty(naturalSubject['childSubjectList'])}" th:each="naturalChildSubject, index : ${naturalSubject['childSubjectList']}"
                                                                    th:utext="${naturalSubject['subjectName']} +'/'+ ${naturalChildSubject['subjectName']}+'(基础专业)'" class="form-control-static">
                                                                </p>
                                                                <p  th:if="${#lists.isEmpty(naturalSubject['childSubjectList'])}"
                                                                    th:utext="${naturalSubject['subjectName']}+'(基础专业)'" class="form-control-static">
                                                                </p>
                                                            </th:block>
                                                            <th:block th:if="!${#lists.isEmpty(userAcademic['attachSubjectList'])}" th:each="subject, index : ${userAcademic['attachSubjectList']}">
                                                                <p  th:if="!${#lists.isEmpty(subject['childSubjectList'])}" th:each="childSubject, index : ${subject['childSubjectList']}"
                                                                    th:utext="${subject['subjectName']} +'/'+ ${childSubject['subjectName']}+'(附加专业)'" class="form-control-static">
                                                                </p>
                                                                <p  th:if="${#lists.isEmpty(subject['childSubjectList'])}"
                                                                    th:utext="${subject['subjectName']}+'(附加专业)'" class="form-control-static">
                                                                </p>
                                                            </th:block>
                                                        </th:block>
                                                    </div>
                                                </div>


                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">班级：</label>
                                                    <div class="col-sm-10">
                                                        <th:block th:if="!${#lists.isEmpty(userClassList)}">
                                                            <p th:each="userClass:${userClassList}">
                                                                <a  th:href="@{/admin/classes/initUpdate?id={id}&step=2(id=${userClass['id']})}"  th:text="${userClass['name']}" class="c-master fs14 ml5" data-toggle="tooltip" data-placement="bottom" data-original-title="查看"></a>
                                                            </p>
                                                        </th:block>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">级别：</label>

                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">
                                                            <span th:if="${user['cusUserGradeConfig']}!=null" th:text="${user['cusUserGradeConfig']['gradeName']}"></span>
                                                            <span th:if="${user['cusUserGradeConfig']}==null" th:text="LV1"></span>
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">积分：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static" th:text="${user['userIntegral']}==null ? '0':${user['userIntegral']['currentScore']}">
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 control-label">会员：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static" th:text="${user['memberBuyRecord']}==null ? '—':'有效期'+${user['memberBuyRecord']['beginTime']}+' 至 '+${user['memberBuyRecord']['endTime']}">
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                                <div th:if="${#lists.isEmpty(user['addresses'])}" class="form-group">
                                                    <label class="col-sm-2 control-label">联系地址：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static">—</p>
                                                    </div>
                                                </div>
                                                <div th:if="!${#lists.isEmpty(user['addresses'])}" th:each="userAddress,index:${user['addresses']}" class="form-group">
                                                    <label class="col-sm-2 control-label">联系地址：</label>
                                                    <div class="col-sm-10">
                                                        <p class="form-control-static" th:text="${userAddress['province']['areaName']}+'—'+${userAddress['city']['areaName']}+'—'+${userAddress['town']['areaName']}+'—'+${userAddress['address']}">
                                                        </p>
                                                    </div>
                                                </div>
                                                <div class="hr-line-dashed"></div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="tab-2" class="tab-pane">
                                        <div class="panel-body">
                                            <div class="pt10" id="order_list_content" >

                                            </div>
                                        </div>
                                    </div>
                                    <div id="tab-3" class="tab-pane active">
                                        <ul class="nav nav-tabs wNav-tabs">
                                            <li class="active"><a class="fs14" data-toggle="tab" href="#tab-11" aria-expanded="true">学习时长走势图</a></li>
                                            <li class="learnList"><a class="fs14" data-toggle="tab" href="#tab-10" aria-expanded="flase">学习记录数据</a></li>
                                            <li class="queryRecord"><a class="fs14" data-toggle="tab" href="#tab-12" aria-expanded="flase">做题记录</a></li>
                                            <li class="courseCount"><a class="fs14" data-toggle="tab" href="#tab-14" aria-expanded="flase">课程统计</a></li>
                                        </ul>
                                        <div class="tab-content">
                                            <div id="tab-10" class="tab-pane">
                                                <div class="panel-body">
                                                    <div class="pt10">
                                                        <div class="row">
                                                            <div class="col-sm-12">
                                                                <div class="pt10 text-left  col-sm-4">
                                                                    <a class="coursePlayRecordSubmit">
                                                                                            <span>
                                                                                                <button class="btn btn-white" data-toggle="tooltip" data-placement="top" title="" data-original-title="刷新学习记录列表">
                                                                                                    <i class="fa fa-refresh"></i> 刷新
                                                                                                </button>
                                                                                            </span>
                                                                    </a>
                                                                </div>
                                                                <div class="pt10 text-right col-sm-8">

                                                                    <form id="play-record-form" role="form" class="form-inline">
                                                                        <div class="form-group" style="margin-bottom: 10px">
                                                                            <input placeholder="请输入观看时间开始" id="lookDate" name="toTime" class="laydate-icon form-control layer-date" type="text">
                                                                            <input placeholder="请输入观看时间结束" id="lookToDate" name="endTime" class="laydate-icon form-control layer-date" type="text">
                                                                            <input type="hidden" name="userId" th:value="${user['id']}">
                                                                        </div>
                                                                        <button class="btn btn-w-m btn-primary coursePlayRecordSubmit"   type="button" style="margin-bottom: 10px">搜索</button>
                                                                        <button class="btn btn-w-m btn-primary courseExportForm"   type="button" style="margin-bottom: 10px">导出</button>


                                                                    </form>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div id="coursePlayRecord_list_content">

                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="tab-11" class="tab-pane active">
                                                <div class="panel-body">
                                                    <div class="pt10">
                                                        <div class="row">
                                                            <div class="col-sm-12">
                                                                <div class="pt10 text-right">
                                                                    <div>
                                                                        <div>
                                                                            <div class="text-center">
                                                                                <div class="m-b-sm">
                                                                                    <p>学习走势图</p>
                                                                                </div>
                                                                            </div>

                                                                            <form role="form" class="form-inline search-form" id="search-form">
                                                                                <div class="form-group" style="margin-bottom: 10px">
                                                                                    <input placeholder="开始时间" id="beginCreateTime" name="beginCreateTime" class="laydate-icon form-control layer-date" type="text">
                                                                                    -
                                                                                    <input placeholder="结束时间" id="endCreateTime" name="endCreateTime" class="laydate-icon form-control layer-date" type="text">
                                                                                </div>
                                                                                <button class="btn btn-w-m btn-primary" type="button" style="margin-bottom: 10px" id="btn2">搜索
                                                                                </button>
                                                                            </form>
                                                                            <div id="container" class="echarts" style="height: 340px;"></div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="tab-12" class="tab-pane">
                                                <div class="panel-body">
                                                    <div class="pt10">
                                                        <div class="row">
                                                            <div class="col-sm-12" id="query_record">

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="tab-14" class="tab-pane">
                                                <div class="panel-body">
                                                    <div class="pt10" id="course_list_content" >

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="tab-4" class="tab-pane">
                                        <div class="panel-body">
                                            <div class="pt10">
                                                <div class="row">
                                                    <div class="col-sm-12">
                                                        <div class="pt10 text-right">
                                                            <form id="exam-record-form" role="form" class="form-inline">
                                                                <div class="form-group" style="margin-bottom: 10px">
                                                                    <input placeholder="请输入考试时间" id="examTime" name="createTime" class="laydate-icon form-control layer-date" type="text">
                                                                    <input type="hidden" name="userId" th:value="${user['id']}">
                                                                </div>
                                                                <div class="form-group" style="margin-bottom: 10px">
                                                                    <input placeholder="请输入试卷名称" id="examName" name="name" class="form-control" type="text">
                                                                </div>
                                                                <button class="btn btn-w-m btn-primary examRecordSubmit"   type="button" style="margin-bottom: 10px">搜索</button>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="exam_list_content">

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="tab-5" class="tab-pane">
                                        <div class="panel-body">
                                            <div class="pt10">
                                                <div id="question_list_content">

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--<div id="tab-8" class="tab-pane">
                                        <div class="panel-body">
                                            <div class="pt10">
                                                <div id="experience_list_content">

                                                </div>
                                            </div>
                                        </div>
                                    </div>-->
                                    <div id="tab-6" class="tab-pane">
                                        <div class="panel-body">
                                            <div style="margin-top: -25px;">
                                                <div class="row">
                                                    <div class=" in-iv-data-wrap in-iv-data-box">
                                                        <div class="iv-data-item">
                                                            <div class="iv-data-item-bx iv-data-item-bx-1">
                                                                <div class="text-center">
                                                                    <h2><span class="fs14">可用积分总数</span></h2>
                                                                    <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title=""><span class="fs10" id="sumUserNum" th:text="${userIntegral.currentScore}" >0</span>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="iv-data-item">
                                                            <div class="iv-data-item-bx iv-data-item-bx-2">
                                                                <div class="text-center">
                                                                    <h2><span class="fs14">保护期内积分</span></h2>
                                                                    <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title=""><span   class="fs10" id="buyUserNum" th:text="${userIntegral.protectScore}" >0</span>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="iv-data-item">
                                                            <div class="iv-data-item-bx iv-data-item-bx-3">
                                                                <div class="text-center">
                                                                    <h2><span class="fs14">累计获得积分数</span></h2>
                                                                    <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title=""><span class="fs10" th:text="${userIntegral.totalScore}" id="sumCourseNum">0</span>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="iv-data-item">
                                                            <div class="iv-data-item-bx iv-data-item-bx-5">
                                                                <div class="text-center">
                                                                    <h2><span class="fs14">消耗积分总数</span></h2>
                                                                    <div class="iv-data-item-attr" data-toggle="tooltip" data-placement="top" data-original-title="">
                                                                        <span class="fs10" id="sumQuestionNum" th:text="${userIntegral.consumeScore}" >0</span>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-12">
                                                            <div class="pt10">
                                                                <div class="pt10 text-left col-sm-4">
                                                                    <a class="submitIntegralList">
                                                                        <span>
                                                                            <button class="btn btn-white" data-toggle="tooltip" data-placement="top" title="" data-original-title="刷新积分记录列表">
                                                                                <i class="fa fa-refresh"></i> 刷新
                                                                            </button>
                                                                        </span>
                                                                    </a>
                                                                </div>
                                                                <div class="pt10 text-right col-sm-8">
                                                                    <form id="integralRecordForm" role="form" class="form-inline">
                                                                        <div class="form-group" style="margin-bottom: 10px">
                                                                            <input placeholder="操作开始时间" id="startDate" name="startDate" class="laydate-icon form-control layer-date" type="text">
                                                                        </div>
                                                                        <div class="form-group" style="margin-bottom: 10px">
                                                                            <input placeholder="操作结束时间" id="endDate" name="endDate" class="laydate-icon form-control layer-date" type="text">
                                                                        </div>
                                                                        <input type="hidden" name="userId" th:value="${user['id']}">
                                                                        <button class="btn btn-w-m btn-primary submitIntegralList"  type="button" style="margin-bottom: 10px">搜索</button>
                                                                    </form>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="integral_list_content">

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="tab-7" class="tab-pane">
                                        <div class="panel-body">
                                            <div class="pt10">
                                                <div class="row">
                                                    <div class="col-sm-12">
                                                        <div class="pt10 text-left  col-sm-4">
                                                            <a class="earningList">
                                                                                            <span>
                                                                                                <button class="btn btn-white" data-toggle="tooltip" data-placement="top" title="" data-original-title="刷新收益记录列表">
                                                                                                    <i class="fa fa-refresh"></i> 刷新
                                                                                                </button>
                                                                                            </span>
                                                            </a>
                                                        </div>
                                                        <div class="pt10 text-right col-sm-8">
                                                            <form id="earning-form" role="form" class="form-inline">
                                                                <div class="form-group" style="margin-bottom: 10px">
                                                                    <input placeholder="操作开始时间" id="beginTime" name="beginTime" class="laydate-icon form-control layer-date" type="text">
                                                                </div>
                                                                <div class="form-group" style="margin-bottom: 10px">
                                                                    <input placeholder="操作结束时间" id="endTime" name="endTime" class="laydate-icon form-control layer-date" type="text">
                                                                </div>
                                                                <input type="hidden" name="receiptorId" th:value="${user['id']}">
                                                                <button class="btn btn-w-m btn-primary earningList"  type="button" style="margin-bottom: 10px">搜索</button>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="earning_list_content">

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/libs/plugins/layer/laydate/laydate.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/course/cou/select-common-course.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/user/user/give-user-course.js?v={v}(path=${staticPath},v=${v})}"> </script>
<script type="text/javascript" th:src="@{{path}/admin/business/user/user/user_info.js?v={v}(path=${staticPath},v=${v})}"> </script>
<script type="text/javascript" th:src="@{{path}/admin/business/user/user/user_extended_data.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/user/user/user-order-info.js?v={v}(path=${staticPath},v=${v})}"> </script>
<script th:src="@{{path}/admin/libs/plugins/echarts/echarts.min.3.0.js?v={v}(path=${staticPath},v=${v})}"></script>
<script th:src="@{{path}/admin/libs/plugins/echarts/china.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/libs/plugins/layer/laydate/laydate.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/common/exportExecl.js?v={v}(path=${staticPath},v=${v})}"> </script>
<script th:inline="javascript" type="text/javascript">
    userId = [[${user['id']}]]
</script>
</html>
